import request from '@/utils/request'

export function GetScriptList(baseURL,params) {
  return request({
    url: '/files',
    method: 'get',
    params,
    baseURL
  })
}

export function handlefile(baseURL,params) {
  return request({
    url: '/file',
    method: 'post',
    params,
    baseURL
  })
}



export function GetRemoteFileList(baseURL,params) {
  return request({
    url: '/files',
    method: 'get',
    params,
    baseURL
  })
}

export function GetRemoteFile(baseURL,params) {
  return request({
    url: '/file',
    method: 'get',
    params,
    baseURL
  })
}

export function SendRemoteFile(baseURL,params) {
  return request({
    url: '/sendfile',
    method: 'get',
    params,
    baseURL
  })
}